<template>
  <demo-section>
    <demo-block title="按钮类型">
      <div class="demo-button-row">
        <a9-button type="default">默认按钮</a9-button>
        <a9-button type="primary">主要按钮</a9-button>
        <a9-button type="info">信息按钮</a9-button>
      </div>
      <a9-button type="danger">危险按钮</a9-button>
      <a9-button type="warning">警告按钮</a9-button>
    </demo-block>
  </demo-section>
</template>

<style lang="less">
@import "../../../libs/vant/var";

.demo-button {
  background: @white;

  .van-button {
    &--large {
      margin-bottom: @padding-md;
    }

    &--small,
    &--normal:not(:last-child) {
      margin-right: @padding-md;
    }
  }

  .van-doc-demo-block {
    padding: 0 @padding-md;
  }

  .van-doc-demo-block__title {
    padding-left: 0;
  }

  .demo-button-row {
    margin-bottom: @padding-sm;
  }
}
</style>
